package com.ddone.sms.feign.fallback;

import com.ddone.common.result.Response;
import com.ddone.sms.feign.UserInfoClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author ddone
 * @date 2024/4/19-11:14
 */
@Service
@Slf4j
public class UserInfoClientFallBack implements UserInfoClient {

    @Override
    public Response<Object> checkMobile(String mobile) {
        return Response.fail().message("远程调用失败,服务熔断");
    }
}
